package user;

import java.util.*;
/**
 * Created with IntelliJ IDEA.
 * User: prog1c2
 * Date: 28.03.13
 * Time: 9:35
 * To change this template use File | Settings | File Templates.
 */
public class MainUser {
    public static void main(String[] args) {
        String a = "Str1";
        String b = "Str2";
        a.equals(b);

        List<User> us = new ArrayList<>(10);
        us.add(new User(25,"Mike"));
        us.add(new User(25,"Jon"));
        System.out.println("Hi");
        System.out.println(us.get(0).equals(us.get(1)));

                LinkedList<String> lst = new LinkedList<>();
                ListIterator<String> liter = lst.listIterator();

        Set<User> userSet = new TreeSet<>(new UserComparator());
        userSet.add(new User(36,"Aike"));
        userSet.add(new User(25,"Jule"));
        System.out.println(userSet);



    }
}
